<script>
	export default {
		onLaunch: function() {
			console.log('App Launch');
			// #ifdef APP-PLUS
			// 优化App启动速度
			if (uni.getSystemInfoSync().platform == "android") {
				let time = parseInt(Math.random() * (1500 - 800 + 1) + 800, 10); // 800-1500mm 随机数
				setTimeout(() => {
					plus.navigator.closeSplashscreen(); //关闭启动图
				}, time)
			}
			// #endif
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
		methods: {
			
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import "@/uni_modules/uview-ui/index.scss";
	// 常用css：flex、边距
	@import 'components/common.scss';
</style>